Skip to content

Commit

Permalink
Add upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sebgod committed Nov 10, 2024
1 parent acd95b1 commit a1504c5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,20 @@ jobs:
- name: Build/Publish app (native)
run: dotnet publish -c ${{ matrix.configuration }}

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-x64
path: '**/bin/${{ matrix.configuration }}/*-x64/publish/*'
retention-days: 5

- name: Install prerequisites for Linux ARM64 cross-compile
run: |
sudo dpkg --add-architecture arm64
sudo bash -c 'cat > /etc/apt/sources.list.d/arm64.list <<EOF
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -sc 2>/dev/null) main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -sc 2>/dev/null)-updates main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -sc 2>/dev/null)-backports main restricted universe multiverse
EOF'
sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list
sudo sed -i -e 's/deb mirror/deb [arch=amd64] mirror/g' /etc/apt/sources.list
Expand Down

0 comments on commit a1504c5

Please sign in to comment.