mirror of
https://github.com/Myxelium/BeetleWire.git
synced 2026-04-09 09:09:39 +00:00
Update rust.yml
This commit is contained in:
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@@ -16,6 +16,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@@ -44,15 +46,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get previous tag
|
- name: Get previous tag
|
||||||
id: previoustag
|
id: previoustag
|
||||||
uses: 'WyriHaximus/github-action-get-previous-tag@v1'
|
uses: 'WyriHaximus/github-action-get-previous-tag@v1'
|
||||||
|
with:
|
||||||
|
fallback: 'v0.1.0'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Debug previous tag
|
- name: Debug previous tag
|
||||||
run: echo ${{ steps.previoustag.outputs.tag }}
|
run: echo "Previous tag: ${{ steps.previoustag.outputs.tag }}"
|
||||||
|
|
||||||
- name: Get next minor version
|
- name: Get next minor version
|
||||||
id: semver
|
id: semver
|
||||||
|
|||||||
Reference in New Issue
Block a user