Skip to content

Commit

Permalink
fix tarball upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasharkema committed Apr 29, 2020
1 parent b8da896 commit fdedfd5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@ jobs:
git archive --format=tar.gz -o $TARGET $TAG_NAME
env:
TAG_NAME: ${{ github.event.release.tag_name }}
TARGET: ${{ runner.temp }}/Sources.tar.gz
TARGET: ${{ runner.temp }}/release.tar.gz
- name: Upload sources tarball
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ runner.temp }}/release.tar.gz
asset_name: release.tar.gz
asset_content_type: application/tar+gzip

- name: Build
run: swift build -v -c release
- name: Import Application Siging
Expand Down Expand Up @@ -83,16 +93,6 @@ jobs:
asset_name: rswift-${{ github.event.release.tag_name }}.pkg
asset_content_type: application/pkg

- name: Upload sources tarball
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ runner.temp }}/rswift-${{ github.event.release.tag_name }}.pkg
asset_name: rswift-${{ github.event.release.tag_name }}.pkg
asset_content_type: application/pkg

- name: Store artifact binary
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit fdedfd5

Please sign in to comment.