Skip to content

Commit 2b02d39

Browse files
Update workflows (#1227)
1 parent 49cd7b4 commit 2b02d39

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/docker-image.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
docker save amulet-editor:latest | xz -9e > Amulet-v${{ github.event.release.tag_name }}-docker.tar.gz
2626
2727
- name: Upload Release Asset
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
run: |
31-
gh release upload ${{ github.event.release.tag_name }} \
32-
Amulet-v${{ github.event.release.tag_name }}-docker.tar.gz#Amulet-v${{ github.event.release.tag_name }}-docker.tar.gz
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: Amulet-v${{ github.event.release.tag_name }}-docker.tar.gz
31+
path: Amulet-v${{ github.event.release.tag_name }}-docker.tar.gz

.github/workflows/python-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
twine upload dist/amulet[_-]map[_-]editor* --skip-existing
6464
6565
- name: Upload Release Asset
66-
env:
67-
GITHUB_TOKEN: ${{ github.TOKEN }}
68-
run: |
69-
gh release upload ${{github.event.release.tag_name}} ./dist/${{env.BUILT_PATH}}#${{env.BUILT_PATH}}
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: ${{env.BUILT_PATH}}
69+
path: ./dist/${{env.BUILT_PATH}}

0 commit comments

Comments
 (0)