Skip to content

Commit e1317d4

Browse files
committed
use env.VERSION
1 parent 25ad35c commit e1317d4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,21 @@ jobs:
8989
9090
- name: Zip dist folder
9191
run: |
92-
zip -r pandoc-wasm-${{ VERSION }}.zip dist/
92+
zip -r pandoc-wasm-${{ env.VERSION }}.zip dist/
9393
9494
- name: Upload zipped file as artifact
9595
uses: actions/upload-artifact@v4
9696
with:
97-
name: pandoc-wasm-${{ VERSION }}.zip
98-
path: pandoc-wasm-${{ VERSION }}.zip
97+
name: pandoc-wasm-${{ env.VERSION }}.zip
98+
path: pandoc-wasm-${{ env.VERSION }}.zip
9999

100100
- name: Upload to release
101101
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
102102
uses: svenstaro/upload-release-action@v2
103103
with:
104104
repo_token: ${{ secrets.GITHUB_TOKEN }}
105-
file: pandoc-wasm-${{ VERSION }}.zip
106-
asset_name: pandoc-wasm-${{ VERSION }}.zip
105+
file: pandoc-wasm-${{ env.VERSION }}.zip
106+
asset_name: pandoc-wasm-${{ env.VERSION }}.zip
107107
tag: ${{ github.ref }}
108108
overwrite: true
109109

0 commit comments

Comments
 (0)