Skip to content

Commit

Permalink
dont test build when release pipeline changes, change release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Nov 4, 2024
1 parent 7f99d6c commit 7acee14
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- main
paths-ignore:
- '**.md'
- '.github/workflows/release.yml'

jobs:
build-linux:
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,28 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: linux-build
- name: Prepare DEB package
run: |
mkdir -p .debpkg/DEBIAN
echo "Package: SoundscapeSync" > .debpkg/DEBIAN/control
echo "Version: ${{ github.event.inputs.version }}" >> .debpkg/DEBIAN/control
echo "Architecture: amd64" >> .debpkg/DEBIAN/control
echo "Maintainer: Dominik Polakovics <[email protected]>" >> .debpkg/DEBIAN/control
mkdir -p .debpkg/usr/bin
cp fyne-cross/bin/linux-amd64/soundscape-sync .debpkg/usr/bin
- name: Create DEB package
uses: jiro4989/build-deb-action@v3
with:
package: SoundscapeSync
package_root: .debpkg
maintainer: "Dominik Polakovics <[email protected]>"
version: "${{ github.event.inputs.version }}"
arch: 'amd64'
desc: 'This is my sample package.'
depends: 'ffmpeg'
- name: get file name
run: |
mv *.deb soundscapesync-${{ github.event.inputs.version }}.deb
# - name: Prepare DEB package
# run: |
# mkdir -p .debpkg/DEBIAN
# echo "Package: SoundscapeSync" > .debpkg/DEBIAN/control
# echo "Version: ${{ github.event.inputs.version }}" >> .debpkg/DEBIAN/control
# echo "Architecture: amd64" >> .debpkg/DEBIAN/control
# echo "Maintainer: Dominik Polakovics <[email protected]>" >> .debpkg/DEBIAN/control
# mkdir -p .debpkg/usr/bin
# cp fyne-cross/bin/linux-amd64/soundscape-sync .debpkg/usr/bin
# - name: Create DEB package
# uses: jiro4989/build-deb-action@v3
# with:
# package: SoundscapeSync
# package_root: .debpkg
# maintainer: "Dominik Polakovics <[email protected]>"
# version: "${{ github.event.inputs.version }}"
# arch: 'amd64'
# desc: 'This is my sample package.'
# depends: 'ffmpeg'
# - name: get file name
# run: |
# mv *.deb soundscapesync-${{ github.event.inputs.version }}.deb

- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 7acee14

Please sign in to comment.