-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gh-release job assets and remove unnecessary artifact downloads
- Loading branch information
1 parent
1570814
commit 817a862
Showing
1 changed file
with
19 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
path: ./out | ||
|
||
- name: Create sha256sum for Scoop | ||
run: sha256sum ./out/ferium-windows-msvc.zip | cut -d ' ' -f 1 > ./out/ferium-windows-msvc.zip.sha256 | ||
run: sha256sum ./out/**/ferium-windows-msvc.zip | cut -d ' ' -f 1 > ./out/ferium-windows-msvc.zip.sha256 | ||
|
||
# Remove the dots for the markdown header | ||
- name: MD Header | ||
|
@@ -47,7 +47,7 @@ jobs: | |
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ./out/* | ||
files: ./out/** | ||
name: Ferium ${{ env.TAG }} | ||
tag_name: ${{ env.TAG }} | ||
body: | | ||
|
@@ -67,18 +67,12 @@ jobs: | |
aur-update: | ||
runs-on: ubuntu-latest | ||
needs: gh-release | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Download artifacts | ||
uses: dawidd6/action-download-artifact@v3 | ||
with: | ||
workflow_conclusion: success | ||
workflow: build.yml | ||
path: ./out | ||
|
||
- name: Get the latest tag | ||
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV | ||
|
||
|
@@ -99,26 +93,19 @@ jobs: | |
commit_email: [email protected] | ||
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} | ||
|
||
homebrew-update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Download artifacts | ||
uses: dawidd6/action-download-artifact@v3 | ||
with: | ||
workflow_conclusion: success | ||
workflow: build.yml | ||
path: ./out | ||
|
||
- name: Get the latest tag | ||
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV | ||
|
||
- name: Update Homebrew formula | ||
uses: mislav/bump-homebrew-formula-action@v3 | ||
with: | ||
tag-name: ${{ env.TAG }} | ||
env: | ||
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} | ||
# homebrew-update: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
|
||
# - name: Get the latest tag | ||
# run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV | ||
|
||
# - name: Update Homebrew formula | ||
# uses: mislav/bump-homebrew-formula-action@v3 | ||
# with: | ||
# tag-name: ${{ env.TAG }} | ||
# env: | ||
# COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} |