Skip to content

Commit

Permalink
CI: Instead of uploading the built zipfile as a CI/CD artifact (with …
Browse files Browse the repository at this point in the history
…limited lifetime), publish it as a pre-release named 'latest'.
  • Loading branch information
simpeter committed Dec 25, 2024
1 parent c5f5ff6 commit 14eef7b
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/docker-adplay-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,22 @@ jobs:
pushd adplay
make gcc_version=${{ matrix.gcc_compiler }} binarydist
popd
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: adplay
path: |
adplay/*.zip
- name: Tag this version 'latest'
run: |
git tag latest
git push origin latest
- name: Release latest development version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: latest
run: |
gh release create "$tag" adplay/*.zip --repo="$GITHUB_REPOSITORY" --title="$tag" --generate-notes
# - name: Upload artifact
# uses: actions/upload-artifact@v3
# with:
# name: adplay
# path: |
# adplay/*.zip

0 comments on commit 14eef7b

Please sign in to comment.