aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1950fb68..7b06cb37 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,6 +50,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
+ - name: upload build artifact
+ uses: actions/upload-artifact@v2
+ with:
+ path: |
+ src-tauri/target/release/bundle/appimage/*
+ src-tauri/target/release/bundle/deb/*
+ src-tauri/target/release/bundle/msi/*
- name: Release
uses: softprops/action-gh-release@v1
with:
@@ -57,3 +64,19 @@ jobs:
src-tauri/target/release/bundle/appimage/*
src-tauri/target/release/bundle/deb/*
src-tauri/target/release/bundle/msi/*
+
+ create-release-file:
+ needs: build
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/download-artifact@v3
+ - name: Create release file
+ run: |
+ python3 scripts/create-release-file.py --version ${{github.event.release.tag_name}}
+
+ - name: upload build artifact
+ uses: actions/upload-artifact@v2
+ with:
+ path: |
+ latest-release.json