Skip to content

Commit

Permalink
Updating actions to fix build process
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhat committed Nov 26, 2023
1 parent 070d4e4 commit c9c3ad6
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand All @@ -95,10 +95,14 @@ jobs:
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe
# This only seems to be required on GitHub images
deb [arch=amd64,i386] https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu ${DISTRIB_CODENAME} main
deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME} main universe
deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-updates main universe
deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-backports main universe
# This only seems to be required on GitHub images
deb [arch=arm64,armhf] https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu ${DISTRIB_CODENAME} main
" > /etc/apt/sources.list'
sudo dpkg --add-architecture armhf
Expand Down Expand Up @@ -141,7 +145,7 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand All @@ -158,15 +162,19 @@ jobs:
- name: Setup
shell: bash
run: |
sudo rm -Rf /etc/apt/sources.list.d
sudo rm -Rf /etc/apt/sources.list.d/*
sudo bash -c 'source /etc/lsb-release && echo "
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe
# This only seems to be required on GitHub images
deb [arch=amd64,i386] https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu ${DISTRIB_CODENAME} main
deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME} main universe
deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-updates main universe
deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${DISTRIB_CODENAME}-backports main universe
# This only seems to be required on GitHub images
deb [arch=arm64,armhf] https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu ${DISTRIB_CODENAME} main
" > /etc/apt/sources.list'
sudo dpkg --add-architecture arm64
Expand Down Expand Up @@ -209,7 +217,7 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand All @@ -231,6 +239,8 @@ jobs:
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME} main universe
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-updates main universe
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu ${DISTRIB_CODENAME}-backports main universe
# This only seems to be required on GitHub images
deb [arch=amd64,i386] https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu ${DISTRIB_CODENAME} main
" > /etc/apt/sources.list'
sudo dpkg --add-architecture i386
Expand Down Expand Up @@ -273,7 +283,7 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand Down Expand Up @@ -323,7 +333,7 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand Down Expand Up @@ -360,7 +370,7 @@ jobs:
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand Down Expand Up @@ -396,7 +406,7 @@ jobs:
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*
Expand Down Expand Up @@ -432,7 +442,7 @@ jobs:
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nightly-build
path: ${{github.workspace}}/dist/**/*

0 comments on commit c9c3ad6

Please sign in to comment.