Skip to content

Commit

Permalink
ci: use GITHUB_WORKFLOW env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Nov 13, 2023
1 parent 55f3711 commit 8721b7e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: rules-pact
name: rules_pact
on:
push:
branches:
Expand Down Expand Up @@ -50,19 +50,19 @@ jobs:
run: |
curl \
-L \
-o rules_pact-v$NEXT_RELEASE_VERSION.tar.gz \
https://github.com/opicaud/rules_pact/archive/refs/tags/v$NEXT_RELEASE_VERSION.tar.gz
-o $env:GITHUB_WORKFLOW-v$NEXT_RELEASE_VERSION.tar.gz \
https://github.com/opicaud/$env:GITHUB_WORKFLOW/archive/refs/tags/v$NEXT_RELEASE_VERSION.tar.gz
- name: CREATE RELEASE
if: steps.semantic.outputs.new_release_published == 'true'
id: create-release
uses: ncipollo/[email protected]
with:
name: rules_pact v$NEXT_RELEASE_VERSION
name: $env:GITHUB_WORKFLOW v$NEXT_RELEASE_VERSION
tag: v$NEXT_RELEASE_VERSION
allowUpdates: true
draft: true
artifactErrorsFailBuild: true
updateOnlyUnreleased: true
generateReleaseNotes: false
artifacts: >-
rules_pact-v$NEXT_RELEASE_VERSION.tar.gz
$env:GITHUB_WORKFLOW-v$NEXT_RELEASE_VERSION.tar.gz

0 comments on commit 8721b7e

Please sign in to comment.