Skip to content

Commit

Permalink
Alternative upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Dec 17, 2023
1 parent d9445ca commit 5566da5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main

jobs:
build:
runs-on: ${{ matrix.os }}
permissions:
content: write
matrix:
os:
- ubuntu-latest
Expand All @@ -25,7 +29,11 @@ jobs:
run: pixi run build-backend
- name: Create ZIP Archive
run: pixi run create-archive
- name: Upload archive
uses: softprops/action-gh-release@v1
with:
files: "*.zip"
- name: Upload archive to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/gistim-*.zip
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit 5566da5

Please sign in to comment.