Skip to content

Commit 3100666

Browse files
committed
test something
1 parent 8bfdbb1 commit 3100666

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/solana-verified-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
persist-credentials: false
25-
ref: ${{ github.event.inputs.tag || github.ref_name }}
25+
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.sha }}
2626
fetch-depth: 0
2727
- name: Detect changes
2828
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
@@ -36,7 +36,6 @@ jobs:
3636
3737
build:
3838
needs: [ changes ]
39-
if: ${{ needs.changes.outputs.solana_changes == 'true' }}
4039
runs-on: ubuntu-latest-8cores-32GB
4140
steps:
4241
- uses: actions/checkout@v4
@@ -45,7 +44,7 @@ jobs:
4544
- name: Get Long and Short SHAs
4645
id: get_sha
4746
run: |
48-
FULL_SHA=$(git rev-parse ${{ github.event_name == 'workflow_dispatch' && github.sha }})
47+
FULL_SHA=$(git rev-parse ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.sha }})
4948
echo "short_sha=${FULL_SHA:0:12}" >> $GITHUB_OUTPUT
5049
echo "full_sha=$FULL_SHA" >> $GITHUB_OUTPUT
5150
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)