Skip to content

Commit

Permalink
ci: use wildcard (try 3/n) (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven authored Jun 30, 2024
1 parent f093463 commit efdb4e8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/macos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,24 @@ jobs:
ls dist/
arch=`uname -m`
macos_version=`sw_vers -productVersion`
echo "DIST_ARCH=${arch}" >> $GITHUB_ENV
echo "DIST_MACOS_VERSION=${macos_version}" >> $GITHUB_ENV
cd dist/ && zip FeelUOwnX-macOS${macos_version}-${arch}.zip -r FeelUOwnX.app/
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: FeelUOwnX-macOS{{ env.DIST_MACOS_VERSION }}-{{ env.DIST_ARCH }.zip
path: dist/FeelUOwnX-macOS{{ env.DIST_MACOS_VERSION }}-{{ env.DIST_ARCH }.zip
path: dist/FeelUOwnX*.zip
- name: Upload to release page
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: dist/FeelUOwnX-macOS{{ env.DIST_MACOS_VERSION }}-{{ env.DIST_ARCH }.zip
files: dist/FeelUOwnX*.zip
- name: Upload to nightly
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: dist/FeelUOwnX-macOS{{ env.DIST_MACOS_VERSION }}-{{ env.DIST_ARCH }.zip
files: dist/FeelUOwnX*.zip
tag_name: nightly

0 comments on commit efdb4e8

Please sign in to comment.