diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-07-15 10:34:47 -0400 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-07-15 10:34:47 -0400 |
| commit | 162d1b561b37fa26aab0c37800ffee3dca878b5a (patch) | |
| tree | 3aaaaadc82d1cd229f45da5ab2590fb601a22926 /.github/workflows | |
| parent | ba824fc921cd31b676a5317e05a92c683eaa7238 (diff) | |
| download | decky-loader-162d1b561b37fa26aab0c37800ffee3dca878b5a.tar.gz decky-loader-162d1b561b37fa26aab0c37800ffee3dca878b5a.zip | |
fix lockup in _open_socket_if_not_exists, probably fix ci prereleases
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb80e630..28a3377f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,16 +104,30 @@ jobs: with: name: PluginLoader path: dist + + - name: Get tag 🏷️ + id: old_tag + uses: rafarlopes/get-latest-pre-release-tag-action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + repository: 'decky-loader' + + - name: Prepare tag ⚙️ + id: ready_tag + run: | + echo ::set-output name=${${{ jobs.old_tag.outputs.tag }}#"-pre"} - name: Bump version ⏫ id: tag_version - uses: mathieudutour/github-tag-action@v6.0 + uses: anothrNick/github-tag-action@1.39.0 if: ${{ github.event_name == 'workflow_dispatch' }} with: - github_token: ${{ secrets.GITHUB_TOKEN }} - dry_run: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + INITIAL_VERSION: ${{ jobs.ready_tag.outputs.name }} - - name: Push tag ⏫ + - name: Push tag 📤 uses: rickstaa/action-create-tag@v1.3.2 if: ${{ steps.tag_version.outputs.new_tag && github.event_name == 'workflow_dispatch' }} with: @@ -130,14 +144,14 @@ jobs: prerelease: true generate_release_notes: true - - name: Bump prerelease + - name: Bump prerelease ⏫ id: bump if: ${{ github.event_name == 'schedule' }} run: | git_hash=$(git rev-parse --short "$GITHUB_SHA") echo ::set-output new_tag="nightly-$git_hash" - - name: Push tag ⏫ + - name: Push tag 📤 uses: rickstaa/action-create-tag@v1.3.2 if: ${{ github.event_name == 'schedule' }} with: |
