aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml18
1 files changed, 3 insertions, 15 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d3ca6be..0212a31 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,7 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
- contents: read
+ contents: write
packages: write
steps:
@@ -75,23 +75,11 @@ jobs:
with:
name: Fluorine-Manager
path: artifact/fluorine-manager.tar.gz
+ compression-level: 0
if-no-files-found: warn
- release:
- if: startsWith(github.ref, 'refs/tags/v')
- needs: build
- runs-on: ubuntu-latest
- permissions:
- contents: write
-
- steps:
- - name: Download artifacts
- uses: actions/download-artifact@v4
- with:
- name: Fluorine-Manager
- path: artifact/
-
- name: Create GitHub Release
+ if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: artifact/fluorine-manager.tar.gz