Skip to content

Commit 528fd09

Browse files
committed
Add test.yaml
Signed-off-by: Aaron Wislang <aaron.wislang@microsoft.com>
1 parent 2f62e9b commit 528fd09

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: TEST Publish a Wasm Component to GitHub Artifacts
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
IMAGE_NAME: ${{ github.repository }}
8+
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v2
16+
17+
# - name: Cache cargo bin
18+
# id: cache-cargo
19+
# uses: actions/cache@v3
20+
# env:
21+
# cache-name: cache-cargo-bin
22+
# with:
23+
# path: ~/.cargo/bin
24+
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('scripts/install.sh') }}
25+
# restore-keys: |
26+
# ${{ runner.os }}-build-${{ env.cache-name }}-
27+
# ${{ runner.os }}-build-
28+
# ${{ runner.os }}-
29+
30+
# - if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
31+
# name: Run install script
32+
# continue-on-error: false
33+
# run: bash scripts/install.sh
34+
35+
# - name: Run build script
36+
# run: bash scripts/build.sh
37+
38+
- name: Run publish script
39+
env:
40+
GH_TOKEN: ${{ github.token }}
41+
run: bash test/publish.sh

0 commit comments

Comments
 (0)