Skip to content

Commit

Permalink
ci: Fix minor release action [skip release]
Browse files Browse the repository at this point in the history
  • Loading branch information
RayRedGoose committed Apr 20, 2023
1 parent 71ffddd commit 46eb388
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/release-minor.yml
Expand Up @@ -7,26 +7,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout prerelease/minor
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0 # Needed to do a proper push
ref: prerelease/minor # This job only works on prerelease/minor

- name: Push to master
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: refs/heads/master

- name: Checkout master
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0 # Needed to do a proper push
ref: master # Release job only works on master

- name: Pull minor changes
run: git pull origin prerelease/minor

- uses: Workday/canvas-kit-actions/install@v1
with:
node_version: 16.x
Expand Down

0 comments on commit 46eb388

Please sign in to comment.