Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NSC IT Solutions committed May 4, 2024
2 parents e1913ea + 14b6262 commit e8cf61c
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,18 @@ jobs:
arch: aarch64

- name: Upload build result
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: rpm-build-result
path: RPMS

- name: Create release
if: contains(github.ref, 'release')
run: |
set -x
assets=()
for asset in RPMS/*.rpm; do
assets+=("-a" "$asset")
done
tag_name="${GITHUB_REF##*/}"
hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
rpm-build-result/jolla-settings-screenmonitor-${{ github.ref_name }}-1.aarch64
rpm-build-result/jolla-settings-screenmonitor-${{ github.ref_name }}-1.armv7hl
rpm-build-result/jolla-settings-screenmonitor-${{ github.ref_name }}-1.i486
jolla-settings-screenmonitor.changes

0 comments on commit e8cf61c

Please sign in to comment.