Skip to content

Commit 3bd1b45

Browse files
Update release.yml
1 parent baf6ab1 commit 3bd1b45

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
- uses: Swatinem/rust-cache@v2
2424
with:
2525
cache-all-crates: true
26-
cache-workspaces: |
27-
. -> target
2826

2927
- name: Get version
3028
id: version
29+
shell: bash
3130
run: |
3231
VERSION=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[0].version')
3332
echo "version=v$VERSION" >> "$GITHUB_OUTPUT"
3433
3534
- name: Create tag
3635
if: github.event_name == 'workflow_dispatch'
36+
shell: bash
3737
run: |
3838
if git rev-parse "${{ steps.version.outputs.version }}" >/dev/null 2>&1; then
3939
echo "Tag already exists."
@@ -51,6 +51,7 @@ jobs:
5151
run: cargo build --workspace --release --locked
5252

5353
- name: Package
54+
shell: bash
5455
run: |
5556
mkdir -p dist/oops-${{ steps.version.outputs.version }}/systemd
5657
mkdir -p dist/oops-${{ steps.version.outputs.version }}/shell-hooks

0 commit comments

Comments
 (0)