aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/push-test.yml19
-rw-r--r--.github/workflows/release.yml23
2 files changed, 23 insertions, 19 deletions
diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml
index 49812e8c..04df933b 100644
--- a/.github/workflows/push-test.yml
+++ b/.github/workflows/push-test.yml
@@ -56,22 +56,3 @@ jobs:
src-tauri/target/release/bundle/appimage/*
src-tauri/target/release/bundle/deb/*
src-tauri/target/release/bundle/msi/*
-
- create-release-file:
- needs: test-tauri
- runs-on: ubuntu-20.04
- steps:
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v3
- - name: Create release file
- run: |
- ls -al
- tree
- python3 scripts/create-release-file.py --version v0.1.0
- ls -al
-
- - name: upload build artifact
- uses: actions/upload-artifact@v2
- with:
- path: |
- latest-release.json
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