Skip to content

Commit

Permalink
release only with tag
Browse files Browse the repository at this point in the history
  • Loading branch information
humbertodias committed Feb 10, 2024
1 parent de3a045 commit 0607a8e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
uses: actions/checkout@v4

- name: Run build
run: |
./easy-compile-ubuntu
./easy-release-ubuntu
run: ./easy-compile-ubuntu

- name: Run Release
if: startsWith(github.ref, 'refs/tags/')
run: ./easy-release-ubuntu

- name: Archive Folder
uses: actions/upload-artifact@v2
with:
name: artifact
path: |
${{github.workspace}}/*.tar.gz
${{github.workspace}}/*.AppImage
path: ${{github.workspace}}/*.AppImage

publish-release:
needs: build
Expand All @@ -41,5 +41,4 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ github.workspace }}/*.tar.gz
${{ github.workspace }}/*.AppImage

0 comments on commit 0607a8e

Please sign in to comment.