Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Jun 24, 2022
1 parent 48cc2d1 commit 305da8a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
os:
- { runner: ubuntu-22.04, bin-suffix: linux-ubuntu-2204 }
- { runner: ubuntu-20.04, bin-suffix: linux-generic }
runs-on: ${{ matrix.runner }}
runs-on: ${{ matrix.os.runner }}
needs: [ cargo-release ]
steps:
- run: |
Expand All @@ -53,10 +53,11 @@ jobs:
with:
ref: ${{ needs.cargo-release.outputs.tag }}
- run: cargo build -v --all-features --profile=release
- run: mv target/release/kustomize-pass target/release/kustomize-pass--${{ matrix.os.bin-suffix }}
- uses: actions/upload-artifact@v3
with:
name: kustomize-pass--${{ matrix.bin-suffix }}
path: target/release/kustomize-pass
name: kustomize-pass--${{ matrix.os.bin-suffix }}
path: target/release/kustomize-pass--${{ matrix.os.bin-suffix }}

github-release:
runs-on: ubuntu-latest
Expand All @@ -68,13 +69,18 @@ jobs:
with:
ref: ${{ needs.cargo-release.outputs.tag }}
- uses: actions/download-artifact@v3
with:
path: ./artifacts
- run: |
ls -l artifacts
- uses: softprops/action-gh-release@v1
with:
body_path: changelog.md
tag_name: ${{ needs.cargo-release.outputs.tag }}
fail_on_unmatched_files: true
token: ${{ secrets.GITHUB_TOKEN }}
files: |
kustomize-pass--linux-ubuntu-2204
kustomize-pass--linux-generic
artifacts/*/kustomize-pass--**
reset-changelog:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name = "kustomize-pass"
description = "kustomize generator and transformer plugin for pass managed secrets"
documentation = "https://docs.rs/kustomize-pass"
version = "0.2.1"
version = "0.2.10"
authors = ["Finn Sell <[email protected]>"]
edition = "2021"
repository = "https://github.com/ftsell/kustomize-pass"
Expand Down

0 comments on commit 305da8a

Please sign in to comment.