mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-13 21:11:03 +00:00
PR modifies release workflow according to changes requested in https://github.com/paritytech/revive/issues/162#issuecomment-2751287953
This commit is contained in:
committed by
GitHub
parent
004b8ac16c
commit
1b4d2c6bb8
@@ -214,15 +214,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Compress Artifact
|
- name: Compress Artifact
|
||||||
run: |
|
run: |
|
||||||
tar -czf $(pwd)/resolc-wasm32-unknown-emscripten.tar.gz -C ./target/wasm32-unknown-emscripten/release/ \
|
mkdir -p resolc-wasm32-unknown-emscripten
|
||||||
resolc.js \
|
mv ./target/wasm32-unknown-emscripten/release/resolc.js ./resolc-wasm32-unknown-emscripten/
|
||||||
resolc.wasm \
|
mv ./target/wasm32-unknown-emscripten/release/resolc.wasm ./resolc-wasm32-unknown-emscripten/
|
||||||
resolc_web.js
|
mv ./target/wasm32-unknown-emscripten/release/resolc_web.js ./resolc-wasm32-unknown-emscripten/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: resolc-wasm32-unknown-emscripten
|
name: resolc-wasm32-unknown-emscripten
|
||||||
path: resolc-wasm32-unknown-emscripten.tar.gz
|
path: resolc-wasm32-unknown-emscripten/*
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
@@ -241,13 +241,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
lipo resolc-aarch64-apple-darwin resolc-x86_64-apple-darwin -create -output resolc-universal-apple-darwin
|
lipo resolc-aarch64-apple-darwin resolc-x86_64-apple-darwin -create -output resolc-universal-apple-darwin
|
||||||
|
|
||||||
- name: Compress Artifacts
|
- name: Make Executable
|
||||||
run: |
|
run: |
|
||||||
chmod +x resolc-x86_64-unknown-linux-musl
|
chmod +x resolc-x86_64-unknown-linux-musl
|
||||||
chmod +x resolc-universal-apple-darwin
|
chmod +x resolc-universal-apple-darwin
|
||||||
tar -czf resolc-x86_64-unknown-linux-musl.tar.gz resolc-x86_64-unknown-linux-musl
|
|
||||||
tar -czf resolc-universal-apple-darwin.tar.gz resolc-universal-apple-darwin
|
|
||||||
zip -j resolc-x86_64-pc-windows-msvc.zip resolc-x86_64-pc-windows-msvc.exe
|
|
||||||
|
|
||||||
- name: create-release
|
- name: create-release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
@@ -263,7 +260,9 @@ jobs:
|
|||||||
draft: true
|
draft: true
|
||||||
target_commitish: ${{ github.sha }}
|
target_commitish: ${{ github.sha }}
|
||||||
files: |
|
files: |
|
||||||
resolc-x86_64-unknown-linux-musl.tar.gz
|
resolc-x86_64-unknown-linux-musl
|
||||||
resolc-universal-apple-darwin.tar.gz
|
resolc-universal-apple-darwin
|
||||||
resolc-wasm32-unknown-emscripten.tar.gz
|
resolc-x86_64-pc-windows-msvc.exe
|
||||||
resolc-x86_64-pc-windows-msvc.zip
|
resolc.js
|
||||||
|
resolc.wasm
|
||||||
|
resolc_web.js
|
||||||
|
|||||||
Reference in New Issue
Block a user