Skip to content

Commit

Permalink
Merge pull request #201 from HunnySajid/feat/build-ci
Browse files Browse the repository at this point in the history
fix: replace deprecated command
  • Loading branch information
HunnySajid authored Sep 23, 2024
2 parents 1a9538e + 67a7eba commit 68094b4
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,10 @@ jobs:
cd dist
zip -r firefox.zip firefox/
- name: Get manifest version
id: manifest_version
run: |
version=$(cat manifest.json | jq -r .version)
echo "::set-output name=version::$version"
- name: Get short commit hash
id: commit_hash
run: |
short_hash=$(git rev-parse --short HEAD)
echo "::set-output name=short_hash::$short_hash"
- name: Upload build asset
uses: actions/upload-artifact@v4
with:
name: v${{ steps.manifest_version.outputs.version }}-${{ steps.commit_hash.outputs.short_hash }}
name: v$(cat manifest.json | jq -r .version)-$(git rev-parse --short HEAD)
path: dist/*.zip

- name: Remove dist folder
Expand Down

0 comments on commit 68094b4

Please sign in to comment.