mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 19:11:58 +00:00
temp
This commit is contained in:
@@ -98,28 +98,49 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# - name: Configure semver plugin
|
||||||
|
# run: |
|
||||||
|
# asdf global semver 3.3.0
|
||||||
|
|
||||||
|
# - name: Test semver
|
||||||
|
# uses: asdf-vm/actions/plugin-test@v1
|
||||||
|
# with:
|
||||||
|
# command: semver --version
|
||||||
|
|
||||||
|
- name: Checkout 🧰
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install semver-tool asdf
|
- name: Install semver-tool asdf
|
||||||
uses: asdf-vm/actions/install@v1
|
uses: asdf-vm/actions/install@v1
|
||||||
with:
|
with:
|
||||||
tool_versions: |
|
tool_versions: |
|
||||||
semver 3.3.0
|
semver 3.3.0
|
||||||
|
|
||||||
- name: Checkout 🧰
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Fetch package artifact ⬇️
|
- name: Fetch package artifact ⬇️
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
if: ${{ !env.ACT }}
|
||||||
with:
|
with:
|
||||||
name: PluginLoader
|
name: PluginLoader
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- name: Get tag 🏷️
|
- name: Get latest release
|
||||||
id: old_tag
|
uses: rez0n/actions-github-release@main
|
||||||
uses: rafarlopes/get-latest-pre-release-tag-action@v1
|
id: latest_release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
repository: "SteamDeckHomebrew/decky-loader"
|
||||||
repository: 'decky-loader'
|
type: "nodraft"
|
||||||
|
|
||||||
|
- name: Prepare tag ⚙️
|
||||||
|
id: ready_tag
|
||||||
|
run: |
|
||||||
|
export VERSION=${{ steps.latest_release.outputs.release }}
|
||||||
|
echo "VERS: $VERSION"
|
||||||
|
OUT=""
|
||||||
|
OUT=$(semver bump prerel "$VERSION")
|
||||||
|
printf "OUT: ${OUT}\n"
|
||||||
|
echo "vOUT: v$OUT"
|
||||||
|
echo ::set-output name=tag_name::v$OUT
|
||||||
|
|
||||||
- name: Prepare tag ⚙️
|
- name: Prepare tag ⚙️
|
||||||
id: ready_tag
|
id: ready_tag
|
||||||
|
|||||||
Reference in New Issue
Block a user