Skip to content

Commit 2742a79

Browse files
committed
testing
1 parent 10a145b commit 2742a79

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/build-tarball.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@ jobs:
1515
# ./get-gauche.sh --prefix /usr --destdir package --version latest --force
1616
# (cd package; tar czvf ../gauche-binary-ubuntu-latest.tar.gz .)
1717
run: echo "placeholder" > gauche-binary-ubuntu-latest.tar.gz
18-
- name: "Get upload url"
19-
run: |
20-
upload_url=$(curl -sL https://api.github.com/repos/actions/checkout/releases/latest | jq -r '.upload_url')
21-
echo UPLOAD_URL=$upload_url >> $GITHUB_ENV
22-
- uses: shogo82148/actions-upload-release-asset@v1
23-
with:
24-
asset_path: gauche-binary-ubuntu-latest.tar.gz
25-
overwrite: true
26-
upload_url: ${{ env.UPLOAD_URL }}
18+
# - name: "Get upload url"
19+
# run: |
20+
# upload_url=$(curl -sL https://api.github.com/repos/actions/checkout/releases/latest | jq -r '.upload_url')
21+
# echo UPLOAD_URL=$upload_url >> $GITHUB_ENV
22+
# - uses: shogo82148/actions-upload-release-asset@v1
23+
# with:
24+
# asset_path: gauche-binary-ubuntu-latest.tar.gz
25+
# overwrite: true
26+
# upload_url: ${{ env.UPLOAD_URL }}
27+
- name: "Upload"
28+
run: gh release upload v1 gauche-binary-ubuntu-latest.tar.gz
29+
env:
30+
GITHUB_TOKEN: ${{ github.TOKEN }}

0 commit comments

Comments
 (0)