Skip to content

Commit

Permalink
Merge pull request #27 from tfso/chore/updating-actions
Browse files Browse the repository at this point in the history
chore/Updating actions
  • Loading branch information
lostfields authored Oct 25, 2024
2 parents 7a5d5b9 + e5233a7 commit a016e8c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TFSO_TOKEN }}
FONT_AWESOME_TOKEN: ${{ secrets.FONT_AWESOME_TOKEN }}
NODE_VERSION: 16
NODE_VERSION: 20
TRUNCATE_PRERELEASE: true

tag:
Expand All @@ -39,10 +39,10 @@ jobs:
name: push tag
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: push tag
uses: tfso/action-helpers/tag@v1
with:
GITHUB_TOKEN: ${{ secrets.TFSO_REPO_TAG }}
GITHUB_TOKEN: ${{ secrets.TFSO_GITHUB_TOKEN_SELECTIVE }}
tag: ${{ needs.build.outputs.version }}
16 changes: 8 additions & 8 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TFSO_TOKEN }}
FONT_AWESOME_TOKEN: ${{ secrets.FONT_AWESOME_TOKEN }}
CUSTOM_TAG: ${{ needs.setup.outputs.version }}
NODE_VERSION: 16
NODE_VERSION: 20

- name: upload package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: package
path: ${{ env.FILES }}
Expand All @@ -59,14 +59,14 @@ jobs:
# needs: build
# steps:
# - name: download package
# uses: actions/download-artifact@v3
# uses: actions/download-artifact@v4
# with:
# name: package

# - name: setup
# uses: actions/setup-node@v3
# uses: actions/setup-node@v4
# with:
# node-version: 16
# node-version: 20
# registry-url: https://registry.npmjs.org/
# scope: '@tfso'

Expand All @@ -91,14 +91,14 @@ jobs:
packages: write
steps:
- name: download package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: package

- name: setup
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: '@tfso'

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TFSO_TOKEN }}
FONT_AWESOME_TOKEN: ${{ secrets.FONT_AWESOME_TOKEN }}
CUSTOM_TAG: ${{ needs.setup.outputs.version }}
NODE_VERSION: 16
NODE_VERSION: 20

- name: upload package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: package
path: ${{ env.FILES }}
Expand All @@ -62,14 +62,14 @@ jobs:
# exit 1

# - name: download artifact
# uses: actions/download-artifact@v3
# uses: actions/download-artifact@v4
# with:
# name: package

# - name: setup
# uses: actions/setup-node@v1
# uses: actions/setup-node@v4
# with:
# node-version: 16
# node-version: 20
# registry-url: https://registry.npmjs.org/
# scope: "@tfso"

Expand All @@ -87,14 +87,14 @@ jobs:
packages: write
steps:
- name: download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: package

- name: setup
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: '@tfso'

Expand Down

0 comments on commit a016e8c

Please sign in to comment.