Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Use package version for chrome extension file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjort committed Nov 30, 2023
1 parent ee8ba8a commit e22f758
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
# Pattern matched against refs/tags
tags:
- '*' # Push events to every tag not containing /
branches: [build-upload-extension]

# Allows us to run the workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -28,10 +29,15 @@ jobs:
run: flutter pub get
- name: Build Extension
run: flutter build web --web-renderer html --csp --release
- name: Get package version
id: package_version
uses: mikefarah/yq@master
with:
cmd: yq .version pubspec.yaml
- name: Upload Bundle
uses: actions/upload-artifact@v3
with:
name: concordium-wallet-web-${{ github.ref_name }}
name: concordium-wallet-web-${{ steps.package_version.outputs.result }}
# We package everything except the canvaskit, which we don't use
path: |
"${{github.workspace}}/build/web/"
Expand Down

0 comments on commit e22f758

Please sign in to comment.