Skip to content

Commit

Permalink
Merge pull request #7 from asteurer/actions
Browse files Browse the repository at this point in the history
trying chatgpt's suggestion
  • Loading branch information
asteurer authored Jul 12, 2024
2 parents f810923 + 32e11ac commit 3712dfe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/*.rs') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo index
uses: actions/cache@v3
with:
path: ~/.cargo/index
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/*.rs') }}
restore-keys: |
${{ runner.os }}-cargo-index-
- name: Cache Cargo build
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/*.rs') }}
restore-keys: |
${{ runner.os }}-cargo-build-
Expand All @@ -66,4 +66,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: push package
run: RELEASE_VERSION=$(yq '.application.version' spin.toml) wkg oci push ghcr.io/fermyon/wasm-pkg/fermyon-experimental/azure-client:$RELEASE_VERSION main.wasm
run: RELEASE_VERSION=$(yq '.application.version' spin.toml) && wkg oci push ghcr.io/fermyon/wasm-pkg/fermyon-experimental/azure-client:$RELEASE_VERSION main.wasm

0 comments on commit 3712dfe

Please sign in to comment.