Skip to content

Commit

Permalink
Add a tarball asset to the release
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneToIgnore committed Nov 27, 2024
1 parent dd2c210 commit 7f230fc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: ${{ inputs.release_tag }}
ref: ${{ github.ref_name }}

- name: Install dependencies
run: |
Expand All @@ -20,6 +20,12 @@ jobs:
npm run lint
npm run compile
- name: Create tarball
run: tar -czf vscode-eslint-${{ github.ref_name }}.tar.gz --exclude="vscode-eslint-${{ github.ref_name }}.tar.gz" .

- name: Release
uses: softprops/action-gh-release@v2
with:
files: vscode-eslint-${{ github.ref_name }}.tar.gz
tag_name: ${{ github.ref_name }}
if: startsWith(github.ref, 'refs/tags/')

0 comments on commit 7f230fc

Please sign in to comment.