Skip to content

Commit

Permalink
and now, hopefully final test
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady committed Nov 15, 2024
1 parent f27bab0 commit c9827a0
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ jobs:
run: |
cargo release ${{ steps.extract_version.outputs.VERSION }} --exclude cargo-altvup --no-confirm --execute
# - name: create archive
# # seems like --exclude-from doesnt support all syntax of gitignore but it doesnt really matter
# run: |
# cd ..
# tar --exclude-caches --exclude-vcs --exclude-from=./altv-rust/.gitignore --exclude=*.bat --exclude *.sh --directory ./altv-rust -czvf source.tar.gz .
# cp source.tar.gz ./altv-rust/source.tar.gz
- name: create archive
# seems like --exclude-from doesnt support all syntax of gitignore but it doesnt really matter
run: |
cd ..
tar --exclude-caches --exclude-vcs --exclude-from=./altv-rust/.gitignore --exclude=*.bat --exclude *.sh --directory ./altv-rust -czvf source.tar.gz .
cp source.tar.gz ./altv-rust/source.tar.gz
# - uses: ncipollo/release-action@v1
# id: create_release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ncipollo/release-action@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: upload archive
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# asset_name: source.tar.gz
# file: source.tar.gz
# tag: ${{ github.ref }}
# overwrite: true
- name: upload archive
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
asset_name: source.tar.gz
file: source.tar.gz
tag: ${{ github.ref }}
overwrite: true

0 comments on commit c9827a0

Please sign in to comment.