Skip to content

Commit

Permalink
Update from deprecated action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchts committed May 25, 2024
1 parent c5c2789 commit e3251e1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 29 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: checkout name fetcher
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: MCResourcePile/name-fetcher
path: "./scripts/name-fetcher"

- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.11.1'

Expand Down Expand Up @@ -52,9 +52,9 @@ jobs:
commit_author: MCResourcePile <[email protected]>

- name: setup node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: setup ruby
uses: ruby/setup-ruby@v1
Expand All @@ -71,12 +71,11 @@ jobs:

- name: deploy to github pages
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_BRANCH: source
BRANCH: master
FOLDER: out
CLEAN: true
GIT_CONFIG_EMAIL: [email protected]
COMMIT_MESSAGE: Deploy to GitHub Pages - ${{ github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
branch: master
folder: out
clean: true
git-config-email: [email protected]
commit-message: Deploy to GitHub Pages - ${{ github.sha }}
15 changes: 5 additions & 10 deletions .github/workflows/fetch-pgm-maps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: checkout map fetcher
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: MCResourcePile/map-fetcher
path: "./map-fetcher"
Expand All @@ -44,12 +44,7 @@ jobs:
with:
message: Update PGM maps data file

- uses: actions/upload-artifact@v3
with:
name: pgm.json
path: ./src/data/maps/pgm.json

- name: trigger page rebuild
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
with:
event-type: run_build
7 changes: 1 addition & 6 deletions .github/workflows/fetch-uuids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
path: "./scripts/name-fetcher"

- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.11.1'

Expand All @@ -42,8 +42,3 @@ jobs:
uses: EndBug/add-and-commit@v9
with:
message: Update global UUID data file

- uses: actions/upload-artifact@v3
with:
name: uuids.json
path: ./src/data/uuids.json

0 comments on commit e3251e1

Please sign in to comment.