Skip to content

Commit 726e983

Browse files
fix: uncomment workflow
1 parent f251874 commit 726e983

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/ipa-release.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -62,31 +62,31 @@ jobs:
6262
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
6363
- name: Test
6464
run: echo "creating tag ipa-validation-ruleset-v${{needs.check-version.outputs.current_version}} for sha ${{steps.get-sha.outputs.sha}}"
65-
# - name: Create release tag
66-
# uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72
67-
# with:
68-
# tag: 'ipa-validation-ruleset-v${{ needs.check-version.outputs.current_version }}'
69-
# commit_sha: ${{ steps.get-sha.outputs.sha }}
70-
# gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
71-
# gpg_passphrase: ${{ secrets.PASSPHRASE }}
65+
- name: Create release tag
66+
uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72
67+
with:
68+
tag: 'ipa-validation-ruleset-v${{ needs.check-version.outputs.current_version }}'
69+
commit_sha: ${{ steps.get-sha.outputs.sha }}
70+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
71+
gpg_passphrase: ${{ secrets.PASSPHRASE }}
7272

73-
# publish:
74-
# needs: check-version
75-
# runs-on: ubuntu-latest
76-
# permissions:
77-
# contents: read
78-
# id-token: write
79-
# if: ${{ needs.check-version.outputs.version_changed == 'true' || inputs.workflow_call }}
80-
# steps:
81-
# - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
82-
# - uses: actions/setup-node@v4
83-
# with:
84-
# node-version: '20.x'
85-
# registry-url: 'https://registry.npmjs.org'
86-
# - run: npm ci
87-
# working-directory: tools/spectral/ipa
88-
# - run: npm publish --access public
89-
# working-directory: tools/spectral/ipa
90-
# env:
91-
# NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_NPM_TOKEN }}
73+
publish:
74+
needs: check-version
75+
runs-on: ubuntu-latest
76+
permissions:
77+
contents: read
78+
id-token: write
79+
if: ${{ needs.check-version.outputs.version_changed == 'true' || inputs.workflow_call }}
80+
steps:
81+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
82+
- uses: actions/setup-node@v4
83+
with:
84+
node-version: '20.x'
85+
registry-url: 'https://registry.npmjs.org'
86+
- run: npm ci
87+
working-directory: tools/spectral/ipa
88+
- run: npm publish --access public
89+
working-directory: tools/spectral/ipa
90+
env:
91+
NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_NPM_TOKEN }}
9292

0 commit comments

Comments
 (0)