Skip to content

Commit

Permalink
feature: add archived artifact as asset
Browse files Browse the repository at this point in the history
  • Loading branch information
Attacktive committed Oct 8, 2024
1 parent 9fe5015 commit d95941b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,26 @@ on:
jobs:
release:
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version: ['20.x']
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
- name: 'Create a Release'
- name: "Use Node.js ${{ matrix.node-version }}"
uses: 'actions/setup-node@v4'
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: 'Clean Install'
run: 'npm ci'
- name: 'Build'
run: 'npm run build'
- name: 'Archive Artifacts'
run: 'zip jandi-shortcut-disabler.zip * -r'
- name: 'Create Release'
uses: 'softprops/action-gh-release@v2'
with:
prerelease: true
generate_release_notes: true
files: 'jandi-shortcut-disabler.zip'

0 comments on commit d95941b

Please sign in to comment.