Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Apr 8, 2024
1 parent b7ee0fe commit f8c1f74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
tar xvf fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz
sudo mv fluentci-engine /usr/local/bin
- name: Set env
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "MODULE=https://github.com/fluent-ci-templates/rust-pipeline/releases/download/v0.10.1/rust.wasm" >> $GITHUB_ENV
- name: Add wasm32-unknown-unknown target
run: |
fluentci-engine call -m $MODULE -- \
Expand All @@ -31,5 +36,3 @@ jobs:
ls -ltr target/wasm32-unknown-unknown/release
working-directory: plugin
env:
MODULE: https://github.com/fluent-ci-templates/rust-pipeline/releases/download/v0.10.1/rust.wasm
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
tar xvf fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz
sudo mv fluentci-engine /usr/local/bin
- name: Set env
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "MODULE=https://github.com/fluent-ci-templates/rust-pipeline/releases/download/v0.10.1/rust.wasm" >> $GITHUB_ENV
- name: Add wasm32-unknown-unknown target
run: |
fluentci-engine call -m $MODULE -- \
Expand All @@ -29,9 +34,6 @@ jobs:
--release
ls -ltr target/wasm32-unknown-unknown/release
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Upload release
run: |
export FILE=/app/plugin/target/wasm32-unknown-unknown/release/rust.wasm
Expand Down

0 comments on commit f8c1f74

Please sign in to comment.