Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lakejason0 committed Mar 31, 2024
1 parent 65070eb commit ec8f0c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Check for New Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
WORKFLOW_ID: main
run: |
echo "Checking for new releases..."
Expand All @@ -41,8 +41,8 @@ jobs:
cat extra/changelog_latest.md >> extra/changelog.md
printf "\n# $LATEST_RELEASE\nBump version to \`$LATEST_RELEASE\`.\n" > extra\changelog_latest.md
git config user.name "GitHub Actions"
git config user.email "actions@users.noreply.github.com"
git config user.name "lakejason0"
git config user.email "36039861+lakejason0@users.noreply.github.com"
git commit -a -m "Bump version of Plangothic"
git tag $LATEST_RELEASE
git push origin $LATEST_RELEASE
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Make release zip
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
FONT_VERSION=$(cat version.json | jq -r '.version')
FONT_P1_URL="https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic-Project/releases/download/${FONT_VERSION}/PlangothicP1-Regular.allideo.ttf"
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
repo_token: "${{ secrets.PAT }}"
automatic_release_tag: "nightly-release"
prerelease: true
title: "Test build"
Expand Down

0 comments on commit ec8f0c8

Please sign in to comment.