Skip to content

Commit

Permalink
fix release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
kmd-fl committed Mar 18, 2024
1 parent 105a9bc commit f680740
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,31 +73,31 @@ jobs:
branch: ${{ fromJson(needs.release-please.outputs.pr).headBranchName }}

upload-archive:
if: ${{ needs.release-please.outputs.release_created }}
if: ${{ needs.release-please.outputs.release_created }}

runs-on: ubuntu-latest
needs:
- release-please
runs-on: ubuntu-latest
needs:
- release-please

permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

permissions:
contents: write
- name: Setup fcli
uses: fluencelabs/setup-fluence@v1
with:
# TODO: fluence module pack works only on main now, need to change later
version: unstable

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build archive
run: fluence module pack ./effector --binding-crate=./imports/ --no-input -d .

- name: Setup fcli
uses: fluencelabs/setup-fluence@v1
- name: Upload archive
uses: softprops/action-gh-release@v1
with:
# TODO: fluence module pack works only on main now, need to change later
version: unstable

- name: Build archive
run: fluence module pack ./effector --binding-crate=./imports/ --no-input -d .

- name: Upload archive
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ needs.release-please.outputs.tag-name }}
files: |
./ls_effector.tar.gz
tag_name: ${{ needs.release-please.outputs.tag-name }}
files: |
./ls_effector.tar.gz

0 comments on commit f680740

Please sign in to comment.