Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #54 from pfeerick/pfeerick-nodejs-actions
Browse files Browse the repository at this point in the history
chore: Action updates due to NodeJS 12 EoL
  • Loading branch information
CoderElectronics authored Mar 24, 2023
2 parents a9c61c1 + 4a046b7 commit fc30bac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy-cp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.10'

- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand All @@ -50,7 +50,7 @@ jobs:
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"

- name: Write file - Git commit tag
uses: DamianReeves/write-file-action@v1.0
uses: DamianReeves/write-file-action@v1.2
with:
path: src/support/git_commit
contents: ${{ steps.vars.outputs.sha_short }}
Expand All @@ -66,7 +66,7 @@ jobs:
run: mv dist_electron/*.${{ matrix.binary_ending }} edgetx-flasher-${{ matrix.os_name }}-${{ steps.vars.outputs.sha_short }}.${{ matrix.binary_ending }}

- name: Upload ${{ matrix.binary_ending }}
uses: 'actions/upload-artifact@v2'
uses: actions/upload-artifact@v3
with:
name: flasher-latest
path: edgetx-flasher-${{ matrix.os_name }}-${{ steps.vars.outputs.sha_short }}.${{ matrix.binary_ending }}
Expand All @@ -80,7 +80,7 @@ jobs:
if: github.event_name != 'pull_request'
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: flasher-latest
path: flasher-latest
Expand Down

0 comments on commit fc30bac

Please sign in to comment.