Skip to content

Commit

Permalink
update. Github Actions Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
blacknon committed Nov 10, 2024
1 parent bdae862 commit f6eb1dd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Upload artifact
if: matrix.ext == 'rpm'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.target }}
path: hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.rpm
Expand All @@ -150,21 +150,21 @@ jobs:
- name: Upload artifact
if: matrix.ext == 'deb'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.target }}
path: hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.deb

- name: Upload artifact
if: matrix.ext == 'tar.gz'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.target }}
path: hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.tar.gz

- name: Upload artifact
if: matrix.ext == 'zip'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.target }}
path: hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.zip
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
- run: |
echo '${{ steps.create-release.outputs.upload_url }}' > release_upload_url.txt
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: create-release
path: release_upload_url.txt
Expand Down Expand Up @@ -233,15 +233,15 @@ jobs:
needs: [create-release]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: create-release

- id: upload-url
run: |
echo "upload_url=$(cat create-release/release_upload_url.txt)" >> $GITHUB_OUTPUT
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build-${{ matrix.target }}

Expand Down

0 comments on commit f6eb1dd

Please sign in to comment.