Skip to content

Commit

Permalink
Merge pull request #21 from ar-io/PE-6326-automate-ant-process-publis…
Browse files Browse the repository at this point in the history
…hing

fix(PE-6326): update action to dry run when not main and cat out publi…
  • Loading branch information
dtfiedler authored Oct 10, 2024
2 parents 151f6e2 + 0e1a9d9 commit 3baf797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ jobs:
env:
WALLET: ${{ secrets.WALLET }}
GITHUB_SHA: ${{ github.sha }}
DRY_RUN: ${{github.ref_name == 'refs/heads/develop'}}
DRY_RUN: ${{github.ref_name != 'main'}}
run: |
PUBLISH_OUTPUT=$(yarn aos:publish 2>&1)
cat $PUBLISH_OUTPUT
# This line extracts the transaction ID of the published Lua source code from the output
# It uses grep to find the line containing "Generated source code data item with id:"
# Then it uses sed to extract the 43-character transaction ID
Expand Down

0 comments on commit 3baf797

Please sign in to comment.