From 047a338af97efdd1e8ad782c55ae87677ba911c8 Mon Sep 17 00:00:00 2001 From: nnsnodnb Date: Tue, 12 Dec 2023 19:05:25 +0900 Subject: [PATCH] Add artifact action jobs --- .github/workflows/artifact.yml | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/artifact.yml diff --git a/.github/workflows/artifact.yml b/.github/workflows/artifact.yml new file mode 100644 index 0000000..d0f4692 --- /dev/null +++ b/.github/workflows/artifact.yml @@ -0,0 +1,37 @@ +name: artifact + +on: + push: + tags: + - v*.*.* + +jobs: + ubuntu: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Build artifact + run: make release_build + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: github-apps-token-swift-ubuntu + path: .build/release/github-apps-token + + macos: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + + - name: Create artifactbundle for macOS + run: ./scripts/artifactbundle.sh + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: github-apps-token-swift-macos + path: GitHubAppsToken.artifactbundle.zip