Skip to content

Commit

Permalink
Merge pull request #14 from bitcraze/toverumar/fix_deprecation_warning
Browse files Browse the repository at this point in the history
Upgrade artifact and checkout actions to latest version.
  • Loading branch information
ToveRumar authored Aug 8, 2024
2 parents 08f2305 + dc95771 commit 4d5eee0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check and build
run: docker run --rm -v ${PWD}:/module -e "GH_TOKEN=$GH_TOKEN" bitcraze/builder ./tools/build/build $PLATFORM
4 changes: 2 additions & 2 deletions .github/workflows/nightly-experiment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
PLATFORM: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check and build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: docker run --rm -v ${PWD}:/module -e "GH_TOKEN=$GITHUB_TOKEN" bitcraze/builder ./tools/build/build $PLATFORM nightly-experiment
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-experiment
path: firmware-${{ matrix.platform }}-nightly-experiment.zip
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
PLATFORM: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check and build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: docker run --rm -v ${PWD}:/module -e "GH_TOKEN=$GH_TOKEN" bitcraze/builder ./tools/build/build $PLATFORM nightly

- name: Upload Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly
path: firmware-${{ matrix.platform }}-nightly.zip
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Release URL on file
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
- name: Save Release URL File For Uploading Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release_url
path: release_url.txt
Expand All @@ -44,15 +44,15 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Build
run: docker run --rm -v ${PWD}:/module bitcraze/builder bash -c "./tools/build/build ${{ matrix.platform }}"

- name: Load Release URL File from release job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release_url

Expand Down

0 comments on commit 4d5eee0

Please sign in to comment.