Skip to content

Commit

Permalink
upload release asset (proj.db) with gh cli
Browse files Browse the repository at this point in the history
  • Loading branch information
arbakker committed Dec 19, 2023
1 parent 5cb6f85 commit e202410
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ on:

permissions:
packages: write
contents: read
contents: write

jobs:
build-and-push-image:
runs-on: ubuntu-latest

steps:
- name: Lowercase org/repo
shell: bash
Expand Down Expand Up @@ -44,7 +43,7 @@ jobs:
docker rm "$cont_id"
- name: 'Upload proj.db'
uses: actions/upload-artifact@v4
with:
path: proj.db
name: proj.db
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
gh release upload ${{ github.event.release.tag_name }} proj.db

0 comments on commit e202410

Please sign in to comment.