File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 2020 container :
2121 image : golang:1.23-alpine
2222 steps :
23+ - name : Get TinyGo version
24+ id : version
25+ run : ./.github/workflows/tinygo-extract-version.sh >> "$GITHUB_OUTPUT"
26+ - name : TEST use version ${{ steps.version.outputs.version }}
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : linux-amd64-${{ steps.version.outputs.version }}-double-zipped
30+ path : |
31+ /tmp/tinygo${{ steps.version.outputs.version }}.linux-amd64.tar.gz
32+ /tmp/tinygo_${{ steps.version.outputs.version }}_amd64.deb
33+ - name : exit
34+ run : program-does-not-exist
2335 - name : Install apk dependencies
2436 # tar: needed for actions/cache@v4
2537 # git+openssh: needed for checkout (I think?)
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # Extract the version string from the source code, to be stored in a variable.
4+ grep ' const version' goenv/version.go | sed ' s/^const version = "\(.*\)"$/version=\1/g'
You can’t perform that action at this time.
0 commit comments