Skip to content

Commit

Permalink
Only run release-packages workflow manually
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed Oct 16, 2023
1 parent 4970460 commit 2b09fa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build MSYS2 and Ubuntu packages

on: [workflow_dispatch, release]
on: [workflow_dispatch]

jobs:
pkg-windows-msys2:
Expand Down Expand Up @@ -73,9 +73,9 @@ jobs:
sed -i 's/nvc (.*)/nvc (${{ env.VERSION }}-1)/' debian/changelog
sudo apt-get build-dep .
dpkg-buildpackage -uc -us -b
mv ../nvc_${{ env.VERSION }}-1_amd64.deb nvc_${{ env.VERSION }}-1_amd64_$${matrix.os}.deb
mv ../nvc_${{ env.VERSION }}-1_amd64.deb nvc_${{ env.VERSION }}-1_amd64_$${{ matrix.os }}.deb
- name: 'Upload artifact'
uses: actions/upload-artifact@v3
with:
name: '${{matrix.os}} package'
path: nvc_${{ env.VERSION }}-1_amd64_$${matrix.os}.deb
path: nvc_${{ env.VERSION }}-1_amd64_$${{ matrix.os }}.deb

0 comments on commit 2b09fa7

Please sign in to comment.