diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03a45d4..7a6aeff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout the repository - uses: actions/checkout@main + uses: actions/checkout@v3 - name: Generate the artifacts run : | set -x @@ -56,9 +56,6 @@ jobs: - name: Upload the artifacts env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/upload-release-asset@v1 + uses: softprops/action-gh-release@v1 with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: tmp/cwsim.exe - asset_name: cwsim.exe - asset_content_type: application/octet-stream + files: tmp/cwsim.exe