Skip to content

Commit

Permalink
Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
* Specify version tags for actions where available
* Switch to a new action for uploading release assets
  • Loading branch information
osyu committed Dec 8, 2022
1 parent 05116d6 commit 52ef337
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest

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

- name: Checkout sendproxy
uses: actions/checkout@main
uses: actions/checkout@v3
with:
repository: SlidyBat/sendproxy
path: sendproxy
Expand All @@ -40,7 +40,7 @@ jobs:
7za a -r misere.zip addons/ models/
- name: Upload artifact
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v3
with:
name: package
path: misere.zip
Expand All @@ -52,16 +52,14 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@main
uses: actions/download-artifact@v3
with:
name: package

- name: Upload release asset
uses: actions/upload-release-asset@main
uses: shogo82148/actions-upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: misere.zip
asset_name: misere.zip
asset_content_type: application/zip

0 comments on commit 52ef337

Please sign in to comment.