diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-11-25 17:23:24 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-11-25 17:23:24 -0600 |
| commit | 4a5b191f7f5f51c8ad46e7ecec149f459f18df43 (patch) | |
| tree | e4fc5d411d41cb80d33a7c6e96fd7e5b20ba12c7 | |
| parent | 148d487988b67a66e559d60fe9b6151c725f3c6f (diff) | |
| parent | 51509454140bbf0d2aa1c7226dce0c664551d60b (diff) | |
| download | monzero-gui-4a5b191f7f5f51c8ad46e7ecec149f459f18df43.tar.gz monzero-gui-4a5b191f7f5f51c8ad46e7ecec149f459f18df43.tar.xz monzero-gui-4a5b191f7f5f51c8ad46e7ecec149f459f18df43.zip | |
Merge pull request #3247
5150945 workflows: upload source archive artifact (xiphon)
| -rw-r--r-- | .github/workflows/build.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77da036b..2436ba94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -147,3 +147,21 @@ jobs: with: name: ${{ github.job }} path: /home/runner/work/monero-gui/monero-gui/build/Android/release/android-build/monero-gui.apk + + source-archive: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + - name: archive + run: | + pip install git-archive-all + export VERSION="monero-gui-$(git describe)" + export OUTPUT="$VERSION.tar" + echo "OUTPUT=$OUTPUT" >> $GITHUB_ENV + /home/runner/.local/bin/git-archive-all --prefix "$VERSION/" --force-submodules "$OUTPUT" + - uses: actions/upload-artifact@v2 + with: + name: ${{ env.OUTPUT }} + path: /home/runner/work/monero-gui/monero-gui/${{ env.OUTPUT }} |
