name: Generate release files permissions: contents: write on: push: tags: - "Release-**" workflow_dispatch: jobs: make_software: runs-on: ubuntu-latest container: liv2/amiga-gcc-amitools steps: - name: Checkout uses: actions/checkout@v3 with: token: ${{ secrets.ACCESS_TOKEN }} submodules: true - name: Build run: make software package - uses: actions/upload-artifact@v4.4 with: name: software path: artifacts/* draft_release: runs-on: ubuntu-latest needs: - make_software steps: - name: Checkout uses: actions/checkout@v3 - uses: actions/download-artifact@v4.1.8 with: path: artifacts - name: release uses: softprops/action-gh-release@v1 with: draft: true files: | artifacts/software/**/*