diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f703ca..15c393a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,20 +35,20 @@ jobs: - name: Create release archives run: | - tar -czf /moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.tgz * - zip -r /moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.zip * + tar -czf /tmp/moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.tgz * + zip -r /tmp/moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.zip * - name: Upload release archives uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: /moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.zip + file: /tmp/moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.zip tag: ${{ github.ref_name }} - name: Upload release archives uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: /moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.tgz + file: /tmp/moodle-${{ env.PLUGIN_NAME }}-${{ github.ref_name }}.tgz tag: ${{ github.ref_name }} - name: Bump Version in main