Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
silime committed Sep 9, 2024
1 parent 892ada0 commit d044b9b
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/build-PKGBUILDs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,14 @@ jobs:
${{ env.BUILD_ALARM_SH }} 'gpg --armor --detach-sign --passphrase "${{ secrets.GPG_PASSPHRASE }}" --pinentry-mode loopback --output ~/testfile.sig ~/testfile.txt'
- name: Build packages
run: |
${{ env.BUILD_ALARM_SH }} 'cd /build/ && ./build.sh qcom qcom "${{ secrets.GPG_PASSPHRASE }}"'
${{ env.BUILD_ALARM_SH }} 'ls /build/repo/qcom'
tar -cvf ${{ env.RELEASE }}-logs.tar ./builder/build/build/logs
run:
${{ env.BUILD_ALARM_SH }} 'cd /build/ && ./build.sh qcom qcom "${{ secrets.GPG_PASSPHRASE }}"' ${{ env.BUILD_ALARM_SH }} 'ls /build/repo/qcom'
${{ env.BUILD_ALARM_SH }} 'tar -cvf "${{ env.RELEASE }}"-logs.tar /build/build/logs'
- name: create artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE }}-logs
path: ${{ env.RELEASE }}-logs.tar # or path/to/artifact
path: ./builder/build/${{ env.RELEASE }}-logs.tar # or path/to/artifact

- name: create release
uses: softprops/action-gh-release@v2
Expand All @@ -87,10 +86,10 @@ jobs:
files: |
./builder/build/repo/qcom/*
- name: delete old releases
uses: dev-drprasad/[email protected]
with:
keep_latest: 1
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: delete old releases
# uses: dev-drprasad/[email protected]
# with:
# keep_latest: 1
# delete_tags: true
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d044b9b

Please sign in to comment.