Skip to content

Commit

Permalink
Fix/CI permissions (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy authored Oct 8, 2024
1 parent 882eb30 commit 50f6aff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
cat artifacts/checksums.txt
- name: Zip artefacts
run: |-
zip artifacts/babylon_contract.wasm.zip artifacts/babylon_contract.wasm
zip artifacts/btc_staking.wasm.zip artifacts/btc_staking.wasm
zip artifacts/btc_finality.wasm.zip artifacts/btc_finality.wasm
zip artifacts/op_finality_gadget.wasm.zip artifacts/op_finality_gadget.wasm
zip ./babylon_contract.wasm.zip artifacts/babylon_contract.wasm
zip ./btc_staking.wasm.zip artifacts/btc_staking.wasm
zip ./btc_finality.wasm.zip artifacts/btc_finality.wasm
zip ./op_finality_gadget.wasm.zip artifacts/op_finality_gadget.wasm
- name: Create a Release
id: create-release
uses: actions/create-release@v1
Expand All @@ -57,7 +57,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./artifacts/babylon_contract.wasm.zip
asset_path: ./babylon_contract.wasm.zip
asset_name: babylon_contract.wasm.zip
asset_content_type: application/zip
- name: Upload btc_staking
Expand All @@ -67,7 +67,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./artifacts/btc_staking.wasm.zip
asset_path: ./btc_staking.wasm.zip
asset_name: btc_staking.wasm.zip
asset_content_type: application/zip
- name: Upload btc_finality
Expand All @@ -77,7 +77,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./artifacts/btc_finality.wasm.zip
asset_path: ./btc_finality.wasm.zip
asset_name: btc_finality.wasm.zip
asset_content_type: application/zip
- name: Upload op_finality_gadget
Expand All @@ -87,7 +87,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./artifacts/op_finality_gadget.wasm.zip
asset_path: ./op_finality_gadget.wasm.zip
asset_name: op_finality_gadget.wasm.zip
asset_content_type: application/zip
- name: Upload checksums
Expand Down

0 comments on commit 50f6aff

Please sign in to comment.