Skip to content

Commit

Permalink
TestPR for GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxJa4 authored Nov 15, 2023
1 parent 50bb43e commit 087e3ca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
outputs:
version: ${{ steps.build.version.outputs.version }}
permissions:
contents: read
contents: write
packages: write

steps:
Expand All @@ -38,6 +38,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Bump version and push tag
# only run on push to main
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
id: tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: main

- name: Get commit hash
id: hash
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 087e3ca

Please sign in to comment.