This commit is contained in:
Marc Mueller 2022-02-05 18:07:49 +01:00
parent 8f92dc4744
commit 24a51f5dca

View File

@ -55,15 +55,38 @@ jobs:
name: dist
path: ./dist/
test-upload:
name: Temp upload build artifacts
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Copy dist files
run: cp -r dist_2/ dist/
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: dist
path: ./dist/
upload-assets:
name: Upload release assets
runs-on: ubuntu-latest
needs: test-upload
# if: github.event_name == "release"
permissions:
contents: write
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Download artifact
id: download
uses: actions/download-artifact@v2
- name: Test
run: |
echo "${{ steps.download.outputs.download-path }}"
echo "$(ls -l)"
echo "$(ls -l dist)"
- name: Get dist file names
id: dist-names
run: |