Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
Update version dependencies and formats
  • Loading branch information
krikun98 committed Oct 11, 2023
1 parent ca6b694 commit 3d3e303
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@ jobs:
name: Generate
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.5.2
- uses: xanantis/docker-file-ownership-fix@v1
- name: Run build script
run: |
chmod +x build.sh
./build.sh
shell: bash
- name: Persist gerbers
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
with:
name: Jorian840_gerbers
path: gerbers
- name: Persist images
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
with:
name: Jorian840_images
path: images
- name: Persist case files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
with:
name: Jorian840_case_files
path: dxf
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
cat ./tmp
# End Generate JSON String
matrixStringifiedObject=$(cat ./tmp) # Use this as jq @sh wasn't cooperating
echo "::set-output name=matrix::$matrixStringifiedObject"
echo "matrix=$matrixStringifiedObject" >> $GITHUB_OUTPUT
gerber_matrix:
runs-on: ubuntu-latest
Expand All @@ -96,7 +96,7 @@ jobs:
cat ./tmp
# End Generate JSON String
matrixStringifiedObject=$(cat ./tmp) # Use this as jq @sh wasn't cooperating
echo "::set-output name=matrix::$matrixStringifiedObject"
echo "matrix=$matrixStringifiedObject" >> $GITHUB_OUTPUT
upload_gerbers:
runs-on: ubuntu-latest
Expand All @@ -111,11 +111,11 @@ jobs:
path: gerbers
- name: Gets latest created release info
id: latest_release_info
uses: jossef/action-latest-release-info@v1.1.0
uses: jossef/action-latest-release-info@v1.2.1
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload gerbers
uses: shogo82148/actions-upload-release-asset@v1
uses: shogo82148/actions-upload-release-asset@v1.6.4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -137,11 +137,11 @@ jobs:
path: images
- name: Gets latest created release info
id: latest_release_info
uses: jossef/action-latest-release-info@v1.1.0
uses: jossef/action-latest-release-info@v1.2.1
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload images
uses: shogo82148/actions-upload-release-asset@v1
uses: shogo82148/actions-upload-release-asset@v1.6.4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -161,15 +161,15 @@ jobs:
path: dxf
- name: Gets latest created release info
id: latest_release_info
uses: jossef/action-latest-release-info@v1.1.0
uses: jossef/action-latest-release-info@v1.2.1
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload case files
uses: shogo82148/actions-upload-release-asset@v1
uses: shogo82148/actions-upload-release-asset@v1.6.4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
overwrite: true
upload_url: ${{ steps.latest_release_info.outputs.upload_url }}
asset_path: ./dxf/case_files.zip
asset_name: case_files.zip
asset_name: case_files.zip

0 comments on commit 3d3e303

Please sign in to comment.